module mux2x16 (
    input [15:0] a0,a1,
    input mux,
    output wire [15:0] q
);

    assign q = mux? a1:a0;
    
endmodule